<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ui_newexitpath.aspx.cs" Inherits="Private_Config_Workflow_ui_newexitpath" %>
<%@ Register TagPrefix="Flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<%@ Register TagPrefix="loc" TagName="Timescale" Src="ctrl_Timescale.ascx" %>

<html>
<head runat="server">
	<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
	<link href="./localstyle.css" rel="stylesheet" type="text/css" />
</head>
<body class="nopad">
<form id="form1" runat="server">
<Flux:HostTable runat="server">

<Flux:Section runat="server">
<Flux:ShadePadBox runat="server" CssClass="infoarea">
	<asp:Label runat="server" ID="labHandler" CssClass="info" /><br/>
	<asp:Label runat="server" ID="labDefinition" CssClass="info" /><br/>
	<asp:Label runat="server" ID="labProcess" CssClass="info" /><br/>
	<asp:Label runat="server" ID="labTasking" CssClass="info" />
</Flux:ShadePadBox>
</Flux:Section>

<Flux:ValidationSummarySection runat="server" HeaderText="Please correct the following errors"/>

<Flux:Section runat="server" Title="Add Exit Path">
<Flux:ShadePadBox runat="server">

	<table cellspacing="0" cellpadding="5" border="0" width="500">
	<tr><td nowrap="nowrap">Caption: <%=Required%></td>
		<td><asp:TextBox Runat="server" ID="Caption" Width="200px" style="width:200px"/></td>
	</tr>
	<tr><td>User Interface:</td>
		<td><asp:DropDownList runat="server" ID="uiTaskMethod" Width="200px" style="width:200px"/></td>
		</tr>
	<tr><td valign="top">
		Available to groups:<br/>
		<span class="help">
		Keep all off to make available to all tasked users
		</span>
		</td>
		<td valign="top">
			<asp:CheckBoxList runat="server" ID="CSV_AllowedGroups"/>
		</td>
	</tr>
	</table>
</Flux:ShadePadBox>
</Flux:Section>

<Flux:Section runat="server">
<Flux:PadBox CssClass="Pad5Button" runat="server">
	<asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click"/>&nbsp;&nbsp;&nbsp;
	<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CausesValidation="False"/>
</Flux:PadBox>
</Flux:Section>

<!-- Validators -->
<asp:RequiredFieldValidator Runat="server" ControlToValidate="Caption" ErrorMessage="You must specify the name of this exit path" Display="None"/>

</Flux:HostTable>
</form>
</body>
</html>
